///\todo upgrade

//////////////////////////////////////////////////////////////////////////////////
//                                                                              //
//  This file is part of the buola project (https://code.google.com/p/buola/).  //
//                                                                              //
//  Copyright(c) 2007-2012 Xavi Gratal                                          //
//  gratal AT gmail DOT com                                                     //
//                                                                              //
//  Buola is free software: you can redistribute it and/or modify               //
//  it under the terms of the GNU General Public License as published by        //
//  the Free Software Foundation, either version 3 of the License, or           //
//  (at your option) any later version.                                         //
//                                                                              //
//  Buola is distributed in the hope that it will be useful,                    //
//  but WITHOUT ANY WARRANTY; without even the implied warranty of              //
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               //
//  GNU General Public License for more details.                                //
//                                                                              //
//  You should have received a copy of the GNU General Public License           //
//  along with buola.  If not, see <http://www.gnu.org/licenses/>.              //
//                                                                              //
//////////////////////////////////////////////////////////////////////////////////

#ifndef __BUOLA_TTY_ENUMS_H__
#define __BUOLA_TTY_ENUMS_H__

#include <buola/buola.h>
#include <buola/utility/keys.h>

namespace buola { namespace tty {

///\addtogroup tty
///@{

enum EInputMode
{
    MODE_COOKED,
    MODE_RAW,
    MODE_CBREAK
};

//! enumeration of console colors
enum EColor
{
    COLOR_NORMAL=-1,
    COLOR_BLACK=0,
    COLOR_RED=1,
    COLOR_GREEN=2,
    COLOR_YELLOW=3,
    COLOR_BLUE=4,
    COLOR_MAGENTA=5,
    COLOR_CYAN=6,
    COLOR_WHITE=7,
    COLOR_BRIGHTBLACK=8,
    COLOR_BRIGHTRED=9,
    COLOR_BRIGHTGREEN=10,
    COLOR_BRIGHTYELLOW=11,
    COLOR_BRIGHTBLUE=12,
    COLOR_BRIGHTMAGENTA=13,
    COLOR_BRIGHTCYAN=14,
    COLOR_BRIGHTWHITE=15
};

///@}

/*namespace tty*/ } /*namespace buola*/ }

#endif
